package com.twu.biblioteca.Entity;

/**
 * Created by hjli on 7/26/14.
 */
public class Book {

    public String getId() {
        return id;
    }

    private String id;
    private String title;
    private String author;

    @Override
    public String toString() {
        return "Book{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", yearPublished='" + yearPublished + '\'' +
                '}';
    }

    private String yearPublished;

    public Book(String id, String title, String author, String yearPublished) {
        this.id = id;
        this.title = title;
        this.author = author;
        this.yearPublished = yearPublished;
    }
}
